<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href=@{'/public/stylesheets/css/style.css'} rel="stylesheet" type="text/css" />
<title>Insert title here</title>
</head>
<body>
  <a href=@{Administracao.inicial_administracao()}>voltar</a><br>
  Lista de Administradores
  <table border="1">
   <tr>
     <td> Nome de Usuário</td>
     <td> Ativo</td>
   </tr>
  #{list items:administradores, as: 'administrador'}
  <tr>
      <td>
        <a href=@{Administracao.detalhes_administrador(administrador.getNomeUsuario())}>${administrador.getNomeUsuario()}</a>
      </td>
      <td>#{if administrador.estaAtivo()==true}SIM#{/if} #{else}NÃO #{/else}</td>
  #{/list}
  </table>

</body>
</html>